import axios from 'axios'

const service = axios.create({
  baseURL: '/api',
  timeout: 10000
})

// 请求拦截器

// 响应拦截器

service.interceptors.response.use(
  (response) => response.data,
  (error) => Promise.reject(error)
)

export default service
